<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center PageContactUs_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub PageContactUs_fd0_0'>
          <view class='flex flex-wrap align-center PageContactUs_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  PageContactUs_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='PageContactUs_fd0_0_c1_c0'>{{$t('联系我们')}}</text>
          </view>
          <view class='flex flex-wrap align-center justify-end PageContactUs_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout PageContactUs_flex_1">
        <view class='flex flex-wrap align-center justify-center PageContactUs_fd1_0'>
          <image class='PageContactUs_fd1_0_c0' mode="aspectFill" :src='info.web_site_bgimg'></image>
        </view>
        <view class='flex flex-wrap align-center PageContactUs_fd1_1'>
          <text>{{info.company_desc}}</text>
        </view>
        <view class='flex flex-wrap align-center PageContactUs_fd1_2'>
          <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
            <view class='flex flex-wrap align-center'>
              <text class='PageContactUs_fd1_2_c0_c0_c0'>客服电话</text>
              <text class='PageContactUs_fd1_2_c0_c0_c1'>工作时间 {{info.time}}</text>
            </view>
            <view class='flex flex-wrap align-center PageContactUs_fd1_2_c0_c1' @tap.stop="callMobile(info.tel)">
              <text class='PageContactUs_fd1_2_c0_c1_c0'>{{info.tel}}</text>
              <text class='PageContactUs_fd1_2_c0_c1_c1'>拨打电话</text>
            </view>
          </view>
          <image class='PageContactUs_fd1_2_c1' mode="aspectFit" :src='STATIC_URL+"501.png"'></image>
        </view>
        <view class='flex flex-wrap align-center PageContactUs_fd1_2'>
          <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
            <view class='flex flex-wrap align-center'>
              <text class='PageContactUs_fd1_2_c0_c0_c0'>微信客服</text>
            </view>
            <view class='flex flex-wrap align-center PageContactUs_fd1_2_c0_c1'
              @tap.stop="copyText(info.web_site_email)">
              <text class='PageContactUs_fd1_2_c0_c1_c0'>{{info.web_site_email}}</text>
              <text class='PageContactUs_fd1_2_c0_c1_c1'>复制</text>
            </view>
          </view>
          <image class='PageContactUs_fd1_2_c1' mode="aspectFit" :src='STATIC_URL+"502.png"'></image>
        </view>
      </view>




    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'

  export default {
    components: {},


    data() {
      return {
        "info": {
          "tel": "",
          "time": "",
          "web_site_address": "",
          "web_site_bgimg": "",
          "web_site_email": "",
          "web_site_copyright": ""
        }
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      this.getUsFunc()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取信息
      async getUsFunc() {
        //请求方法
        //数据验证

        let datainfo = await this.$api.get(global.apiUrls.post64cdb895b79ba, {

        });

        if (datainfo.data.code != 1) {
          this.$message.info(datainfo.data.msg);
          return
        }
        let infoinfo = datainfo.data;
        this.info = infoinfo.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor5);
    background-size: 100% auto;
  }

  .PageContactUs_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .PageContactUs_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .PageContactUs_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .PageContactUs_fd0_0_c0 {
    width: 120rpx;
  }

  .PageContactUs_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .PageContactUs_flex_1 {
    background: var(--benbenbgColor5);
    background-size: 100% auto !important;
  }

  .PageContactUs_fd1_2_c1 {
    width: 64rpx;
    height: 64rpx;
  }

  .PageContactUs_fd1_2_c0_c1_c1 {
    color: var(--benbenFontColor4);
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .PageContactUs_fd1_2_c0_c1_c0 {
    color: var(--benbenFontColor0);
    font-weight: 600;
  }

  .PageContactUs_fd1_2_c0_c1 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .PageContactUs_fd1_2_c0_c0_c1 {
    color: var(--benbenFontColor2);
    font-size: 22rpx;
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .PageContactUs_fd1_2_c0_c0_c0 {
    font-size: 32rpx;
  }

  .PageContactUs_fd1_2 {
    background: var(--benbenbgColor1);
    margin: 0rpx auto 24rpx auto;
    padding: 20rpx 24rpx 20rpx 24rpx;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    width: 710rpx;
  }

  .PageContactUs_fd1_1 {
    width: 710rpx;
    margin: 0rpx auto 24rpx auto;
    color: rgba(102, 102, 102, 1);
  }

  .PageContactUs_fd1_0_c0 {
    width: 750rpx;
    height: 300rpx;
  }

  .PageContactUs_fd1_0 {
    margin: 0rpx 0rpx 32rpx 0rpx;
  }
</style>
